package com.third.bank.service;

import com.third.bank.entity.SMSCode;
import com.third.bank.util.BaseResponse;

/**
 * 验证码service
 */
public interface SMSCodeService {
    /**
     * 生成验证码
     * @param tele
     * @return
     */
    public String sendCodeToSMS(String tele);

    /**
     * 检测验证码
     * @param smsCode
     * @return
     */
    public boolean checkCode(SMSCode smsCode);
}
